from typing import List


class Solution1431:
    def kidsWithCandies(self, candies: List[int], extraCandies: int) -> List[bool]:
        maxCandies = max(candies)
        return [i+extraCandies >= maxCandies for i in candies]


if __name__ == "__main__":
    print(Solution1431().kidsWithCandies([2, 3, 5, 1, 3], extraCandies=3))
    print(Solution1431().kidsWithCandies([4, 2, 1, 1, 2], extraCandies=1))
    print(Solution1431().kidsWithCandies([12, 1, 12], extraCandies=10))
